<div class="box">				
	<div class="box">
			<div class="box-top"></div>
			<div class="box-content">
						<div class="head">
							<h2><?php echo $this->_var['page_title']; ?></h2>	
												
						</div>
						<div class="sect">						
						<table cellspacing="0" cellpadding="0" border="0" class="coupons-table" >
								<tr>
									<th><?php echo $this->_var['LANG']['ORDER_SN']; ?></th>
									<th><?php echo $this->_var['LANG']['ORDER_CREATE_TIME']; ?></th>
									<th><?php echo $this->_var['LANG']['PAY_TOTAL_PRICE']; ?></th>
									<th><?php echo $this->_var['LANG']['ORDER_STATUS']; ?></th>
									<th><?php echo $this->_var['LANG']['OPERATION']; ?></th>
								</tr>
								<?php $_from = $this->_var['list']; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array'); }; $this->push_vars('key', 'order');if (count($_from)):
    foreach ($_from AS $this->_var['key'] => $this->_var['order']):
?>
								<tr <?php if ($this->_var['key'] % 2 == 0): ?>class="alt"<?php endif; ?>>
									<td style="text-align:left;">
										<?php echo $this->_var['order']['order_sn']; ?>
										<?php 
$k = array (
  'name' => 'get_order_item_list',
  'value' => $this->_var['order']['id'],
);
echo $k['name']($k['value']);
?>
									</td>
									<td><?php 
$k = array (
  'name' => 'to_date',
  'value' => $this->_var['order']['create_time'],
);
echo $k['name']($k['value']);
?></td>
									<td><?php 
$k = array (
  'name' => 'format_price',
  'value' => $this->_var['order']['total_price'],
);
echo $k['name']($k['value']);
?></td>
									<td>
										<?PHP echo $this->_var['LANG']['ORDER_PAY_STATUS_'.$this->_var['order']['pay_status']];?>
										<br />
										<?PHP echo $this->_var['LANG']['ORDER_DELIVERY_STATUS_'.$this->_var['order']['delivery_status']];?>
										<br />
										<?PHP echo $this->_var['LANG']['ORDER_ORDER_STATUS_'.$this->_var['order']['order_status']];?>
				
										<?php if ($this->_var['order']['after_sale'] > 0): ?>
										<br />
										<?PHP echo $this->_var['LANG']['AFTER_SALE_'.$this->_var['order']['after_sale']];?>
										<?php endif; ?>
									</td>
									<td>
										<a href="<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'uc_order#view',
  'id' => $this->_var['order']['id'],
);
echo $k['name']($k['value'],$k['id']);
?>"><?php echo $this->_var['LANG']['VIEW']; ?></a>
										<?php if ($this->_var['order']['pay_status'] == 0): ?>
										<br />
										<a href="<?php 
$k = array (
  'name' => 'url_pack',
  'value' => 'uc_order#del',
  'id' => $this->_var['order']['id'],
);
echo $k['name']($k['value'],$k['id']);
?>"><?php echo $this->_var['LANG']['CANCEL']; ?></a>
										<?php endif; ?>
									</td>
								</tr>
								<?php endforeach; endif; unset($_from); ?><?php $this->pop_vars();; ?>
						</table>
						
						<div class="blank"></div>
						<div class="pages"><?php echo $this->_var['pages']; ?></div>
						</div><!--end sect-->
			</div>
			<div class="box-bottom"></div>
	</div>
</div>